package com.example.analysis.service;

import com.example.analysis.entity.Course;
import com.example.analysis.entity.Teacher;
import com.example.analysis.utils.Response;

import java.util.List;

public interface TeacherService {
    Response<Teacher> insert(Teacher aTeacher);
    Response<Teacher> getById(String TeacherId);
    Response<List<Teacher>> getByName(String teacherName);

    /**
     * 获取整个教师集合
     * @return 教师集合
     */
    Response<List<Teacher>> getAll();
}
